package com.example.abstractfactory4.factory4;

/**
 * @version 1.0.0
 * @className: BlackColourFactory
 * @description: 黑色工厂，充当具体工厂
 * @author: zhangjunfa
 * @date: 2022/6/10 14:27
 */
public class BlackColourFactory implements ColourFactory {
    /**
     * 黑色数字产品
     *
     * @return
     */
    @Override
    public Digit createDigit() {
        return new BlackDigit();
    }

    /**
     * 黑色字母产品
     *
     * @return
     */
    @Override
    public Letter createLetter() {
        return new BlackLetter();
    }

    /**
     * 黑色符号产品
     *
     * @return
     */
    @Override
    public Mark createMark() {
        return new BlackMark();
    }
}
